/**
 * Copyright (C) 2015-2050 CCIC Inc.All Rights Reserved.
 * Description：
 * @author 颜德平
 * @since 2015年11月10日
 * @version 1.0.0
 * History：
 */

package com.csscis.ssm.core.util;

/**
 * 可用禁用状态
 * @author 颜德平
 * @since 2015年11月10日
 * @version 1.0.0
 */
public enum AvailableEnum {
    /**
     * 启用
     */
    Enable("启用", 1, true),
    /**
     * 禁用
     */
    Disable("禁用", 0, false);

    private String name;
    private int type;
    private Boolean isAvailable;

    private AvailableEnum(String name, int type, Boolean isAvailable) {
        this.name = name;
        this.type = type;
        this.isAvailable = isAvailable;
    }

    public String getName() {

        return name;
    }

    public void setName(String name) {

        this.name = name;
    }

    public int getType() {

        return type;
    }

    public void setType(int type) {

        this.type = type;
    }

    public Boolean getIsAvailable() {

        return isAvailable;
    }

    public void setIsAvailable(Boolean isAvailable) {

        this.isAvailable = isAvailable;
    }
}
